<?php

// GLOBAL CONSTANTS
// *********************************************************
	class Globals
	{
		const sitio = 'Ignacio Calvo Martínez';
		const autor = 'Ignacio Calvo';
		const autor_email = 'ignacio.calvo [att] gmail.com';
		const disenador = 'María del Pozo Valdehita';
		const disenador_email = 'merydp [att] gmail.com';
		static $paginas = array (
			'index',
			'bio',
			'compositions',
			'arrangements',
			'awards',
			'contacts',
			'equipment',
			'photos',
			'future'
		);
	}

	function __autoload($classname)
	{
		if (strpos($classname, '_'))
		{
			$path = str_replace('_', '/', $classname);
		}
		else
		{
			$path = $classname;
		}

		try {
			require_once($path . '.php5');
		}
		catch (Exception $ex)
		{
			echo "ERROR cargando clase $classname de $path.php5";
		}
	}

	include_once('common/Functions.php5');

?>
